
package middleware.p2p.global.monitor;

import middleware.p2p.log.*;
import middleware.p2p.log.XmlHashtableType.XmlHashtableValue;

import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;


/**
 * This object contains factory methods for each 
 * Java content interface and Java element interface 
 * generated in the middleware.p2p.global.monitor package. 
 * <p>An ObjectFactory allows you to programatically 
 * construct new instances of the Java representation 
 * for XML content. The Java representation of XML 
 * content can consist of schema derived interfaces 
 * and classes representing the binding of schema 
 * type definitions, element declarations and model 
 * groups.  Factory methods for each of these are 
 * provided in this class.
 * 
 */
@XmlRegistry
public class ObjectFactory {

    private final static QName _ResetClock_QNAME = new QName("http://monitor.global.p2p.middleware/", "resetClock");
    private final static QName _MonitorEvent_QNAME = new QName("http://monitor.global.p2p.middleware/", "monitor_event");
    private final static QName _PushResponse_QNAME = new QName("http://monitor.global.p2p.middleware/", "pushResponse");
    private final static QName _Push_QNAME = new QName("http://monitor.global.p2p.middleware/", "push");
    private final static QName _VectorClock_QNAME = new QName("http://monitor.global.p2p.middleware/", "vectorClock");
    private final static QName _ResetClockResponse_QNAME = new QName("http://monitor.global.p2p.middleware/", "resetClockResponse");

    /**
     * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: middleware.p2p.global.monitor
     * 
     */
    public ObjectFactory() {
    }

    /**
     * Create an instance of {@link XmlHashtableValue }
     * 
     */
    public XmlHashtableValue createXmlHashtableValue() {
        return new XmlHashtableValue();
    }

    /**
     * Create an instance of {@link XmlHashtableType }
     * 
     */
    public XmlHashtableType createXmlHashtableType() {
        return new XmlHashtableType();
    }

    /**
     * Create an instance of {@link Push }
     * 
     */
    public Push createPush() {
        return new Push();
    }

    /**
     * Create an instance of {@link VectorClock }
     * 
     */
    public VectorClock createVectorClock() {
        return new VectorClock();
    }

    /**
     * Create an instance of {@link ResetClock }
     * 
     */
    public ResetClock createResetClock() {
        return new ResetClock();
    }

    /**
     * Create an instance of {@link PushResponse }
     * 
     */
    public PushResponse createPushResponse() {
        return new PushResponse();
    }

    /**
     * Create an instance of {@link ResetClockResponse }
     * 
     */
    public ResetClockResponse createResetClockResponse() {
        return new ResetClockResponse();
    }

    /**
     * Create an instance of {@link MiddlewareMonitorEvent }
     * 
     */
    public MiddlewareMonitorEvent createMiddlewareMonitorEvent() {
        return new MiddlewareMonitorEvent();
    }

    /**
     * Create an instance of {@link JAXBElement }{@code <}{@link ResetClock }{@code >}}
     * 
     */
    @XmlElementDecl(namespace = "http://monitor.global.p2p.middleware/", name = "resetClock")
    public JAXBElement<ResetClock> createResetClock(ResetClock value) {
        return new JAXBElement<ResetClock>(_ResetClock_QNAME, ResetClock.class, null, value);
    }

    /**
     * Create an instance of {@link JAXBElement }{@code <}{@link MiddlewareMonitorEvent }{@code >}}
     * 
     */
    @XmlElementDecl(namespace = "http://monitor.global.p2p.middleware/", name = "monitor_event")
    public JAXBElement<MiddlewareMonitorEvent> createMonitorEvent(MiddlewareMonitorEvent value) {
        return new JAXBElement<MiddlewareMonitorEvent>(_MonitorEvent_QNAME, MiddlewareMonitorEvent.class, null, value);
    }

    /**
     * Create an instance of {@link JAXBElement }{@code <}{@link PushResponse }{@code >}}
     * 
     */
    @XmlElementDecl(namespace = "http://monitor.global.p2p.middleware/", name = "pushResponse")
    public JAXBElement<PushResponse> createPushResponse(PushResponse value) {
        return new JAXBElement<PushResponse>(_PushResponse_QNAME, PushResponse.class, null, value);
    }

    /**
     * Create an instance of {@link JAXBElement }{@code <}{@link Push }{@code >}}
     * 
     */
    @XmlElementDecl(namespace = "http://monitor.global.p2p.middleware/", name = "push")
    public JAXBElement<Push> createPush(Push value) {
        return new JAXBElement<Push>(_Push_QNAME, Push.class, null, value);
    }

    /**
     * Create an instance of {@link JAXBElement }{@code <}{@link VectorClock }{@code >}}
     * 
     */
    @XmlElementDecl(namespace = "http://monitor.global.p2p.middleware/", name = "vectorClock")
    public JAXBElement<VectorClock> createVectorClock(VectorClock value) {
        return new JAXBElement<VectorClock>(_VectorClock_QNAME, VectorClock.class, null, value);
    }

    /**
     * Create an instance of {@link JAXBElement }{@code <}{@link ResetClockResponse }{@code >}}
     * 
     */
    @XmlElementDecl(namespace = "http://monitor.global.p2p.middleware/", name = "resetClockResponse")
    public JAXBElement<ResetClockResponse> createResetClockResponse(ResetClockResponse value) {
        return new JAXBElement<ResetClockResponse>(_ResetClockResponse_QNAME, ResetClockResponse.class, null, value);
    }

}
